package com.edu.nchu.study.model;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
public abstract class BaseModel implements Serializable {
    @Id
    @Column(name = "id")
    private String id;
    @Column(name="created_time")
    private Date createdTime;
    @Column(name = "updated_time")
    private Date updatedTime;
}
